package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDate;

/**
 * 公园大型活动登记
 *
 * @author code-generate
 * @date 2022-10-28
 */
@Data
@DbTable(tableName = "t_activity_register")
public class ActivityRegister extends BaseEntity {
    /**
     * 活动编号
     */
    @DbTableField(columnName = "c_code", dbType = DbTypeEnum.VARCHAR)
    public String code;

    /**
     * 活动名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name;

    /**
     * 所在公园名称
     */
    @DbTableField(columnName = "c_park_id", dbType = DbTypeEnum.INTEGER)
    public String parkId;

    /**
     * 活动主办方
     */
    @DbTableField(columnName = "c_holder", dbType = DbTypeEnum.VARCHAR)
    public String holder;

    /**
     * 联系电话
     */
    @DbTableField(columnName = "c_phone", dbType = DbTypeEnum.VARCHAR)
    public String phone;

    /**
     * 活动人数
     */
    @DbTableField(columnName = "c_number", dbType = DbTypeEnum.INTEGER)
    public Integer number;

    /**
     * 活动开始日期
     */
    @DbTableField(columnName = "c_begin_date", dbType = DbTypeEnum.DATE)
    public LocalDate beginDate;

    /**
     * 活动结束日期
     */
    @DbTableField(columnName = "c_end_date", dbType = DbTypeEnum.DATE)
    public LocalDate endDate;

    /**
     * 活动主要内容
     */
    @DbTableField(columnName = "c_abstracts", dbType = DbTypeEnum.VARCHAR)
    public String abstracts;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark;

    /**
     * 活动类型id
     */
    @DbTableField(columnName = "c_type_id", dbType = DbTypeEnum.VARCHAR)
    public String typeId;

    /**
     * 区域Id
     */
    @DbTableField(columnName = "c_distract_id", dbType = DbTypeEnum.VARCHAR)
    public String distractId;

    /**
     * 区域
     */
    @DbTableField(columnName = "c_distract_name", dbType = DbTypeEnum.VARCHAR)
    public String distractName;

    /**
     * 街道Id
     */
    @DbTableField(columnName = "c_street_id", dbType = DbTypeEnum.VARCHAR)
    public String streetId;

    /**
     * 街道名称
     */
    @DbTableField(columnName = "c_street_name", dbType = DbTypeEnum.VARCHAR)
    public String streetName;

    /**
     * 社区Id
     */
    @DbTableField(columnName = "c_community_id", dbType = DbTypeEnum.VARCHAR)
    public String communityId;

    /**
     * 社区名称
     */
    @DbTableField(columnName = "c_community_name", dbType = DbTypeEnum.VARCHAR)
    public String communityName;
}
